package com.atmc.mapper;

import com.atmc.bean.Bill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Mapper
@Component
public interface BillMapper {

    List<Bill> selectAll();
    int insertOne(Bill bill);
    int updateOne(Bill bill);
    int deleteOne(@Param("bill_id")int id);
    Bill selectOne(@Param("goods_name") String goods_name);
}
